package com.training.java.core.oop.basic;

public class CarDemo {

	public static void main(String[] args) {
		
		Car car1 = new Car();
		
		car1.start();
		car1.speedUp(20);
		car1.printInfo();
		
		car1.applyBrakes(5);
		car1.printInfo();
		
		car1.stop();
		car1.printInfo();

	}

}
